package com.guodexian.service;
import com.guodexian.entity.User;
import org.springframework.transaction.annotation.Transactional;

/**
 * 类说明：<br>
 *
 * @author PC-31 <br>
 * 2024/12/24 16:07<br>
 * @since 1.0 <br>
 * 黄淮学院计科2201B杨蕊 <br>
 * 点击<a href="http://www.xuejiaao.com/images/qrcode.jpg"> <br>
 */
@Transactional
public interface UserService {
    //查看开只读性事务
    @Transactional(readOnly = true)
    public User selectUserById(int id);
    public int insertUser(User user);
    public int updateUser(User user);
    public int deleteUserById(int id);
}